﻿<template id="wtmtpl-mutilupload-img">
	<div class="wtm-mutilupload-container wtm-mutilupload-img-container">
		<img class="layui-upload-img wtm-mutilupload-img"
			 alt="{{d.alt}}"
			 layer-src="/_Framework/GetFile?id={{d.fileId}}&_DONOT_USE_CS={{d.cs}}"
			 src="/_Framework/GetFile?id={{d.fileId}}&stream=true&width={{d.width}}&height={{d.height}}&_DONOT_USE_CS={{d.cs}}"
			 width="{{d.width}}"
			 height="{{d.height}}">

		{{# if(d.disabled===false){ }}
		<i class="layui-icon layui-icon-close-fill wtm-mutilupload-del wtm-mutilupload-img-del"></i>
		<input hidden name="{{d.fieldName}}[{{d.index}}].FileId" value="{{d.fileId}}" />
		{{# } }}
	</div>
</template>

<template id="wtmtpl-mutilupload-file">
	<div class="wtm-mutilupload-container wtm-mutilupload-file-container">
		<span class="wtm-mutilupload-file">
			<i class="layui-icon layui-icon-file"></i>
			{{d.fileName}}
			{{# if(d.disabled===false){ }}
			<i class="layui-icon layui-icon-close-fill wtm-mutilupload-del wtm-mutilupload-file-del"></i>
			<input hidden name="{{d.fieldName}}[{{d.index}}].FileId" value="{{d.fileId}}" />
			{{# } }}
		</span>
	</div>
</template>